package com.jh.complicate.rpc.v2.server;

import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @author Administrator
 * @projectName newforward
 * @title ServerApp.java
 * @package com.jh.complicate.rpc.v1.server
 * @description 服务端App
 * @date 2019/6/11 23:15
 */
public class ServerApp {
    public static void main(String[] args) {

        ApplicationContext context = new AnnotationConfigApplicationContext(SpringConfig.class);
        ((AnnotationConfigApplicationContext) context).start();

    }
}
